package com.liang.manage.auth.facade.server;

import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse;

/**
 * @author 王华安
 * @date 2021-05-25 21:44
 */
public interface SmsService {
    /**
     * 发送短信
     *
     * @param phone
     * @param code
     * @return
     * @throws Exception
     */
    SendSmsResponse sendSms(String phone, String code);

}